package com.cms.service;

import com.cms.exception.SystemDBException;
import com.cms.model.TrSysRole;

public interface SystemRoleService {

	  /***
	   * 
	   * @param role
	   * @throws SystemDBException
	   */
	  public void addSysRole(TrSysRole role)throws SystemDBException;
	  
	  
	  /***
	   * 
	   * @param role
	   * @throws SystemDBException
	   */
	  public void updateSysRole(TrSysRole role)throws SystemDBException;
	  
	  /***
	   * 
	   * @param roleId
	   * @throws SystemDBException
	   */
	  public void deleteSysRole(int roleId)throws SystemDBException;
	  
	  /***
	   * 
	   * @param roleId
	   * @return
	   * @throws SystemDBException
	   */
	  public TrSysRole querySysRole(int roleId)throws SystemDBException;
}
